|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectimageware.ByteBuffer
imageware.ByteAccess
imageware.BytePointwise
public class BytePointwise
Class BytePointwise.
| Field Summary |
|---|
| Fields inherited from class imageware.ByteBuffer |
|---|
data, nx, nxy, ny, nz |
| Constructor Summary | |
|---|---|
protected |
BytePointwise(byte[][][] array,
int mode)
|
protected |
BytePointwise(byte[][] array,
int mode)
|
protected |
BytePointwise(byte[] array,
int mode)
|
protected |
BytePointwise(double[][][] array,
int mode)
|
protected |
BytePointwise(double[][] array,
int mode)
|
protected |
BytePointwise(double[] array,
int mode)
|
protected |
BytePointwise(float[][][] array,
int mode)
|
protected |
BytePointwise(float[][] array,
int mode)
|
protected |
BytePointwise(float[] array,
int mode)
|
protected |
BytePointwise(java.awt.Image image,
int mode)
|
protected |
BytePointwise(ij.ImageStack stack,
byte chan)
|
protected |
BytePointwise(ij.ImageStack stack,
int mode)
|
protected |
BytePointwise(int nx,
int ny,
int nz)
|
protected |
BytePointwise(short[][][] array,
int mode)
|
protected |
BytePointwise(short[][] array,
int mode)
|
protected |
BytePointwise(short[] array,
int mode)
|
| Method Summary | |
|---|---|
void |
abs()
Compute the absolute value of this imageware. |
void |
add(double constant)
Add a constant value to this imageware. |
void |
addGaussianNoise(double amplitude)
Add a gaussian noise with a range [-amplitude..amplitude]. |
void |
addSaltPepper(double amplitudeSalt,
double amplitudePepper,
double percentageSalt,
double percentagePepper)
Add a salt and pepper noise. |
void |
addUniformNoise(double amplitude)
Add a uniform noise with a range [-amplitude..amplitude]. |
ij.ImageStack |
buildImageStack()
Build an ImageStack of ImageJ. |
void |
clip()
Clip the pixel intensity into [0..255]. |
void |
clip(double minLevel,
double maxLevel)
Clip the pixel intensity into [minLevel..maxLevel]. |
void |
divide(double constant)
Divide by a constant value to this imageware. |
void |
exp()
Compute the exponential of this imageware. |
void |
fillConstant(double value)
Fill this imageware with a constant value. |
void |
fillGaussianNoise(double amplitude)
Generate a gaussian noise with a range [-amplitude..amplitude]. |
void |
fillRamp()
Fill this imageware with ramp. |
void |
fillSaltPepper(double amplitudeSalt,
double amplitudePepper,
double percentageSalt,
double percentagePepper)
Generate a salt and pepper noise. |
void |
fillUniformNoise(double amplitude)
Generate a uniform noise with a range [-amplitude..amplitude]. |
void |
invert()
Invert the pixel intensity. |
void |
log()
Compute the log of this imageware. |
void |
multiply(double constant)
Multiply a constant value to this imageware. |
void |
negate()
Negate the pixel intensity. |
void |
pow(double a)
Compute the power of a of this imageware. |
void |
rescale()
Rescale the pixel intensity into [0..255]. |
void |
rescale(double minLevel,
double maxLevel)
Rescale the pixel intensity into [minLevel..maxLevel]. |
void |
rescaleCenter(double minLevel,
double maxLevel)
Rescale the pixel intensity with a linear curve passing through (maxLevel-minLevel)/2 at the 0 input intensity. |
void |
sqr()
Compute the square of this imageware. |
void |
sqrt()
Compute the square root of this imageware. |
void |
subtract(double constant)
Subtract a constant value to this imageware. |
void |
threshold(double thresholdValue)
Threshold a imageware in two levels 0 and 255. |
void |
threshold(double thresholdValue,
double minLevel,
double maxLevel)
Threshold a imageware in two levels minLevel and maxLevel. |
void |
thresholdHard(double thresholdValue)
Apply a hard thresholding. |
void |
thresholdSoft(double thresholdValue)
Apply a soft thresholding. |
| Methods inherited from class imageware.ByteBuffer |
|---|
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ, throw_constructor, throw_constructor, throw_get, throw_put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface imageware.Buffer |
|---|
getDepth, getDimension, getHeight, getSize, getSizeX, getSizeY, getSizeZ, getSliceByte, getSliceDouble, getSliceFloat, getSliceShort, getTotalSize, getType, getTypeToString, getVolume, getWidth, getX, getX, getX, getX, getX, getXY, getXY, getXY, getXY, getXY, getXYZ, getXYZ, getXYZ, getXYZ, getXYZ, getXZ, getXZ, getXZ, getXZ, getXZ, getY, getY, getY, getY, getY, getYZ, getYZ, getYZ, getYZ, getYZ, getZ, getZ, getZ, getZ, getZ, isSameSize, putX, putX, putX, putX, putX, putXY, putXY, putXY, putXY, putXY, putXYZ, putXYZ, putXYZ, putXYZ, putXYZ, putXZ, putXZ, putXZ, putXZ, putXZ, putY, putY, putY, putY, putY, putYZ, putYZ, putYZ, putYZ, putYZ, putZ, putZ, putZ, putZ, putZ |
| Constructor Detail |
|---|
protected BytePointwise(int nx,
int ny,
int nz)
protected BytePointwise(java.awt.Image image,
int mode)
protected BytePointwise(ij.ImageStack stack,
int mode)
protected BytePointwise(ij.ImageStack stack,
byte chan)
protected BytePointwise(byte[] array,
int mode)
protected BytePointwise(byte[][] array,
int mode)
protected BytePointwise(byte[][][] array,
int mode)
protected BytePointwise(short[] array,
int mode)
protected BytePointwise(short[][] array,
int mode)
protected BytePointwise(short[][][] array,
int mode)
protected BytePointwise(float[] array,
int mode)
protected BytePointwise(float[][] array,
int mode)
protected BytePointwise(float[][][] array,
int mode)
protected BytePointwise(double[] array,
int mode)
protected BytePointwise(double[][] array,
int mode)
protected BytePointwise(double[][][] array,
int mode)
| Method Detail |
|---|
public void fillConstant(double value)
fillConstant in interface Pointwiseconstant - the constant valuepublic void fillRamp()
fillRamp in interface Pointwisepublic void fillGaussianNoise(double amplitude)
fillGaussianNoise in interface Pointwiseamplitude - amplitude of the noisepublic void fillUniformNoise(double amplitude)
fillUniformNoise in interface Pointwiseamplitude - amplitude of the noise
public void fillSaltPepper(double amplitudeSalt,
double amplitudePepper,
double percentageSalt,
double percentagePepper)
fillSaltPepper in interface PointwiseamplitudeSalt - amplitude of the salt noiseamplitudePepper - amplitude of the pepper noisepercentageSalt - percentage of the salt noisepercentagePepper - percentage of the pepper noisepublic ij.ImageStack buildImageStack()
buildImageStack in interface Pointwisepublic void invert()
invert in interface Pointwisepublic void negate()
negate in interface Pointwisepublic void clip()
clip in interface Pointwise
public void clip(double minLevel,
double maxLevel)
clip in interface PointwiseminLevel - double value given the thresholdmaxLevel - double value given the thresholdpublic void rescale()
rescale in interface Pointwise
public void rescale(double minLevel,
double maxLevel)
rescale in interface PointwiseminLevel - double value given the thresholdmaxLevel - double value given the threshold
public void rescaleCenter(double minLevel,
double maxLevel)
rescaleCenter in interface PointwiseminLevel - double value given the thresholdmaxLevel - double value given the thresholdpublic void abs()
abs in interface Pointwisepublic void log()
log in interface Pointwisepublic void exp()
exp in interface Pointwisepublic void sqrt()
sqrt in interface Pointwisepublic void sqr()
sqr in interface Pointwisepublic void pow(double a)
pow in interface Pointwisea - exponentpublic void add(double constant)
add in interface Pointwisepublic void multiply(double constant)
multiply in interface Pointwiseconstant - the constant valuepublic void subtract(double constant)
subtract in interface Pointwiseconstant - the constant valuepublic void divide(double constant)
divide in interface Pointwiseconstant - the constant valuepublic void threshold(double thresholdValue)
threshold in interface PointwisethresholdValue - double value given the threshold
public void threshold(double thresholdValue,
double minLevel,
double maxLevel)
threshold in interface PointwisethresholdValue - double value given the thresholdminLevel - double value given the minimum levelmaxLevel - double value given the maximum levelpublic void thresholdSoft(double thresholdValue)
thresholdSoft in interface PointwisethresholdValue - double value given the thresholdpublic void thresholdHard(double thresholdValue)
thresholdHard in interface PointwisethresholdValue - double value given the thresholdpublic void addGaussianNoise(double amplitude)
addGaussianNoise in interface Pointwiseamplitude - amplitude of the noisepublic void addUniformNoise(double amplitude)
addUniformNoise in interface Pointwiseamplitude - amplitude of the noise
public void addSaltPepper(double amplitudeSalt,
double amplitudePepper,
double percentageSalt,
double percentagePepper)
addSaltPepper in interface PointwiseamplitudeSalt - amplitude of the salt noiseamplitudePepper - amplitude of the pepper noisepercentageSalt - percentage of the salt noisepercentagePepper - percentage of the pepper noise
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||